package org.jeecg.modules.demo.applyapartemployee.service;

import org.jeecg.modules.demo.applyapartemployee.entity.ZnzfApplyApartEmployee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 单位报名人员
 * @Author: jeecg-boot
 * @Date:   2022-03-19
 * @Version: V1.0
 */
public interface IZnzfApplyApartEmployeeService extends IService<ZnzfApplyApartEmployee> {

    /**
     * 通过框定部门id查找框定单位报名人员
     * @param check_determine_apart_id
     * @return
     */
    List<ZnzfApplyApartEmployee> searchsByCheckDetermineApartId(String check_determine_apart_id);

    /**
     * 让某人入围
     * @param id
     * @return
     */
    int shortlistSb(String id);

    /**
     * 可以提交报名,提交报名申请,往单位报名表插入一条数据
     * @param applyId
     * @param uid
     * @return
     */
    int submitApply(String applyId,String uid);
}
